<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>JSTL Implicit Objects</title>
</head>
<body>
<h4>Table 2.5 JSTL Implicit Objects</h4>
   <p>
</p><table border="2" cellpadding="2" cellspacing="2">
  <thead> 
  <tr valign="TOP"> 
    <td colspan="1" rowspan="1" valign="TOP" width="99"> 
      <p><font size="-1"><b>Implicit Object</b></font></p>

    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="69"> 
      <p><font size="-1"><b>Type</b></font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="101"> 
      <p><font size="-1"><b>Key<a href="javascript:popUp('/content/images/chap2_0131001531/elementLinks/ch02fn12.html')"><sup>12</sup></a></b></font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="94"> 
      <p><font size="-1"><b>Value</b></font></p>

    </td>
  </tr>
  </thead><tbody> 
  <tr valign="TOP"> 
    <td colspan="1" rowspan="1" valign="TOP" width="99"> 
      <p><tt><font size="-1">cookie</font></tt></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="69"> 
      <p><font size="-1">Map</font></p>
    </td>

    <td colspan="1" rowspan="1" valign="TOP" width="101"> 
      <p><font size="-1">Cookie name</font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="94"> 
      <p><font size="-1">Cookie</font></p>
    </td>
  </tr>
  <tr valign="TOP"> 
    <td colspan="1" rowspan="1" valign="TOP" width="99"> 
      <p><tt><font size="-1">header</font></tt></p>

    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="69"> 
      <p><font size="-1">Map</font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="101"> 
      <p><font size="-1">Request header name</font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="94"> 
      <p><font size="-1">Request header value</font></p>

    </td>
  </tr>
  <tr valign="TOP"> 
    <td colspan="1" rowspan="1" valign="TOP" width="99"> 
      <p><tt><font size="-1">headerValues</font></tt></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="69"> 
      <p><font size="-1">Map</font></p>
    </td>

    <td colspan="1" rowspan="1" valign="TOP" width="101"> 
      <p><font size="-1">Request header name</font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="94"> 
      <p><font size="-1">String[] of request header values</font></p>
    </td>
  </tr>
  <tr valign="TOP"> 
    <td colspan="1" rowspan="1" valign="TOP" width="99"> 
      <p><tt><font size="-1">initParam</font></tt></p>

    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="69"> 
      <p><font size="-1">Map</font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="101"> 
      <p><font size="-1">Initialization parameter name</font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="94"> 
      <p><font size="-1">Initialization parameter value</font></p>

    </td>
  </tr>
  <tr valign="TOP"> 
    <td colspan="1" rowspan="1" valign="TOP" width="99"> 
      <p><tt><font size="-1">param</font></tt></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="69"> 
      <p><font size="-1">Map</font></p>
    </td>

    <td colspan="1" rowspan="1" valign="TOP" width="101"> 
      <p><font size="-1">Request parameter name</font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="94"> 
      <p><font size="-1">Request parameter value</font></p>
    </td>
  </tr>
  <tr valign="TOP"> 
    <td colspan="1" rowspan="1" valign="TOP" width="99"> 
      <p><tt><font size="-1">paramValues</font></tt></p>

    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="69"> 
      <p><font size="-1">Map</font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="101"> 
      <p><font size="-1">Request parameter name</font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="94"> 
      <p><font size="-1">String[] of request parameter values</font></p>

    </td>
  </tr>
  <tr valign="TOP"> 
    <td colspan="1" rowspan="1" valign="TOP" width="99"> 
      <p><tt><font size="-1">pageScope</font></tt></p>

    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="69"> 
      <p><font size="-1">Map</font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="101"> 
      <p><font size="-1">Page-scoped attribute name</font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="94"> 
      <p><font size="-1">Page-scoped attribute value</font></p>

    </td>
  </tr>
  <tr valign="TOP"> 
    <td colspan="1" rowspan="1" valign="TOP" width="99"> 
      <p><tt><font size="-1">requestScope</font></tt></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="69"> 
      <p><font size="-1">Map</font></p>
    </td>

    <td colspan="1" rowspan="1" valign="TOP" width="101"> 
      <p><font size="-1">Request-scoped attribute name</font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="94"> 
      <p><font size="-1">Request-scoped attribute value</font></p>
    </td>
  </tr>
  <tr valign="TOP"> 
    <td colspan="1" rowspan="1" valign="TOP" width="99"> 
      <p><tt><font size="-1">sessionScope</font></tt></p>

    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="69"> 
      <p><font size="-1"><tt>Map</tt></font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="101"> 
      <p><font size="-1">Session-scoped attribute name</font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="94"> 
      <p><font size="-1">Session-scoped attribute value</font></p>

    </td>
  </tr>
  <tr valign="TOP"> 
    <td colspan="1" rowspan="1" valign="TOP" width="99"> 
      <p><tt><font size="-1">applicationScope</font></tt></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="69"> 
      <p><font size="-1"><tt>Map</tt></font></p>
    </td>

    <td colspan="1" rowspan="1" valign="TOP" width="101"> 
      <p><font size="-1">Application-scoped attribute name</font></p>
    </td>
    <td colspan="1" rowspan="1" valign="TOP" width="94"> 
      <p><font size="-1">Application-scoped attribute value</font></p>
    </td>
  </tr>
  </tbody> 
</table>

<p>There are three types of JSTL implicit objects: </p>
<ul>
<li><p>Maps for a single set of values, such as request headers and
cookies:</p></li>
<pre>param, paramValues, header, headerValues, initParam, cookie</pre>
<li><p>Maps for scoped variables in a particular scope:</p></li>
<pre>pageScope, requestScope, sessionScope, applicationScope</pre>
</body>
</html>